

//on success webService creates notification with name reqID passed on init
//This notification contains NSArray with three objects
//the first is the WebService's response
//the second one is the also reqID
//the third is dataType (@"news", @"players" etc.)


#import <Foundation/Foundation.h>

@interface WebService : NSObject {
    
	NSMutableData *receivedData;
	NSURLConnection *connection;
	NSStringEncoding encoding;
}

@property (strong, nonatomic) NSString* response;
@property (strong, nonatomic) NSString* reqID; 
@property (strong, nonatomic) NSString* dataType; 




- (id)initWithURL:(NSURL *)url andRequestID:(NSString*)requestID andDataType:(NSString*) type;

@end
